package io.afu.nginxhelper.dto;

import java.util.List;

/**
 * @author RffanLAB.方露宇
 * @version 0.1
 */
public class Nginx {

    private String workerProcesses;

    private Events events;

    /**
     * default root or nobody
     */
    private User user;

    /**
     * 运行pid
     */
    private String pid;

    public void parse(List<String> lines) {






    }


    public String getWorkerProcesses() {
        return workerProcesses;
    }

    public void setWorkerProcesses(String workerProcesses) {
        this.workerProcesses = workerProcesses;
    }

    public Events getEvents() {
        return events;
    }

    public void setEvents(Events events) {
        this.events = events;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }
}
